home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 9,300 to 9,399 / 9300.zip / AOLDLs / Helper Apps (MAC) / ADD ON_ NetSIT Netscape_SITCo / NetSIT 1.0.sit / NetSIT 1.0 / NetSIT Register (Source) < prev    next >
Text File  |  1995-04-30  |  2KB  |  57 lines

  1. (*
  2. NetSIT Register 1.0
  3. A Netscape/SITcomm Telnet Helper
  4.  
  5. ⌐1995 M. Brent Sleeper
  6. Distribute Freely
  7.  
  8. M. Brent Sleeper ╤ bsleeper@flightpath.com
  9. Flightpath Communications ╤ http://www.flightpath.com/
  10.  
  11.  
  12. This applet acts as an intermediary between the Netscape Navigator web browser
  13. and Aladdin Systems╒ SITcomm communications/terminal emulation package.
  14.  
  15. NetSIT Register registers NetSIT with Netscape as a ╥protocol helper╙ for telnet. NetSIT
  16. then accepts telnet URLs on SITcomm╒s behalf. Why? Because SITcomm doesn╒t
  17. understand the GetURL/OpenURL AppleEvents supported by many of the current Macintosh
  18. Internet applications.
  19.  
  20. If you compile these guys yourself, be sure to set the compiled NetSIT application╒s 
  21. creator code to ╥SITT╙, or Netscape will not find it! Also, because the applet needs to 
  22. wait for an AppleEvent from Netscape, you╒ll need to save it as a ╥stay-open╙ application.
  23.  
  24.  
  25. Required Components:
  26.  
  27. NetSIT Register 1.0 ╤ Included with this package
  28. Netscape Navigator 1.1N ╤ Netscape Communications, Inc.
  29. SITcomm 1.0.1 ╤ Aladdin Systems, Inc.
  30. Outland TCP Tool 1.0.1 ╤ Outland, Inc.
  31. VT102 Tool 1.0.2 ╤ Apple Computer, Inc.
  32. AppleScript 1.1 ╤ Apple Computer, Inc.
  33. ACME Script Widgets 2.0 ╤ Wayne Walrath
  34.  
  35.  
  36. Release History:
  37.  
  38. 1.0 -- 4/29/95 -- Initial release.
  39. *)
  40.  
  41. property registeredProtocol : false
  42. property creatorCode : "SITT" -- make sure the compiled NetSIT applet has this file creator code, or it won╒t work!
  43.  
  44. on run
  45.     
  46.     (*
  47.     First, we check to see if we╒ve been registered with Netscape as a protocol helper. If not, do it!
  48.     *)
  49.     
  50.     if not registeredProtocol then
  51.         tell application "Netscape¬"
  52.             register protocol creatorCode for protocol "telnet:"
  53.             set registeredProtocol to true
  54.         end tell
  55.     end if
  56.     
  57. end run